Custom Printer Library  1.17
Custom Linux Printer Library - C/C++ library interface documentation

Document Overview

This document details about Custom Linux Printer library APIs and explains how to use these APIs for C/C++ development.

System requirements for Linux

It is mandatory to have Custom Linux Printer native libraries located in a directory reachable by application.

This can be obtained with command:

> export LD_LIBRARY_PATH=/path/to/native/libraries

Mandatory dependencies:

  • libusb 1.0 or later installed on system

Image manipulation

Custom Linux Printer Library contains tools for image manipulation. These tools are optional and located in a specific library (libcucustomgraphics.so) that customer can include or not in its system.

Example:

- libcucustomgraphics.so is not reachable 
- result: library will not support PrintImageFromPath functionality.

Notes

For uart communication, check device permissions: should be 0666 to have read/write access for a normal user